body{
    background:no-repeat center center url('../img/beijing3.jpg');
    background-size: cover;
}
    /* 注册页面样式 */
.register-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end; /* 右对齐 */
    min-height: 600px;
}

.register-content {
    width: 400px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.register-header p {
    color: #666;
    font-size: 14px;
}

.register-header a {
    color: #ff5000;
    text-decoration: none;
}

/* 表单样式 */
.register-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-wrapper input {
    width: 84%;
    height: 40px;
    padding: 0 15px 0 35px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-wrapper input:focus {
    border-color: #ff5000;
    box-shadow: 0 0 0 2px rgba(255,80,0,0.1);
    outline: none;
}

/* 密码强度提示 */
.password-strength {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.strength-meter {
    display: flex;
    gap: 5px;
    margin-top: 3px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: #eee;
    border-radius: 2px;
    transition: all 0.3s;
}

.strength-bar.active {
    background-color: #ff5000;
}

/* 同意协议复选框 */
.agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin: 25px 0;
}

.agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.agreement a {
    color: #ff5000;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

/* 注册按钮 */
.register-btn {
    width: 100%;
    height: 40px;
    background-color: #ff5000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.register-btn:hover {
    background-color: #ff6a1f;
}

.register-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 错误提示 */
.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.input-wrapper.error input {
    border-color: #ff4d4f;
}

.input-wrapper.error .error-message {
    display: block;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .register-container {
        justify-content: center;
        margin: 20px auto;
        background: none;
    }
    
    .register-content {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .register-content {
        padding: 20px;
    }
    
    .register-header h2 {
        font-size: 20px;
    }
    
    .input-wrapper input {
        height: 36px;
    }
    
    .register-btn {
        height: 36px;
        font-size: 14px;
    }
}
